package com.helloworld.chat.entity;

/**
 * Created by xdzy on 2017/6/28.
 */
public class FriendRequest {
    private int frid;
    private User sender;
    private User receiver;
    private int status;//0代表新申请，1代表已接受，2代表已拒绝
    private Group group;
    private String content;

    public int getFrid() {
        return frid;
    }

    public void setFrid(int frid) {
        this.frid = frid;
    }

    public User getSender() {
        return sender;
    }

    public void setSender(User sender) {
        this.sender = sender;
    }

    public User getReceiver() {
        return receiver;
    }

    public void setReceiver(User receiver) {
        this.receiver = receiver;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Group getGroup() {
        return group;
    }

    public void setGroup(Group group) {
        this.group = group;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

	@Override
	public String toString() {
		return "FriendRequest [frid=" + frid + ", sender=" + sender + ", receiver=" + receiver + ", status=" + status
				+ ", group=" + group + ", content=" + content + "]";
	}
    
}
